package com.yc.pre.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author baozhuangyu
 * @Date 2021/2/22  11:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AssetDetailResponse {

    @ApiModelProperty(value = "当前标注id",required = true)
    private Long signId;

    /**
     * 基本信息
     */
    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "拍卖状态（1:即将开始，3:拍卖中，5:成功交易，7:失败，9:终止，11:撤回，默认0）")
    private Integer auctionStatus;

    @ApiModelProperty(value = "结构化/检查记录")
    private List<SignLog> log;

    /**
     * 房产/土地信息
     */
    @ApiModelProperty(value = "抵押状态（1:勾选，0:不勾选）")
    private Integer collateralStatus;

    @ApiModelProperty(value = "抵押状态是否错误（0：有误，1：无误）")
    private Integer collateralStatusJudge;

    @ApiModelProperty(value = "抵押状态正确答案（1:勾选，0:不勾选）")
    private Integer collateralStatusAnswer;

    @ApiModelProperty(value = "房产/土地类型（1:商用，2:住宅，3:工业，0:未知，默认0）")
    private Integer houseLandType;

    @ApiModelProperty(value = "房产/土地类型是否错误（0：有误，1：无误）")
    private Integer houseLandTypeJudge;

    @ApiModelProperty(value = "房产/土地类型正确答案（1:商用，2:住宅，3:工业，0:未知，默认0）")
    private Integer houseLandTypeAnswer;

    @ApiModelProperty(value = "建筑面积")
    private BigDecimal buildingArea;

    @ApiModelProperty(value = "建筑面积是否错误（0：有误，1：无误）")
    private Integer buildingAreaJudge;

    @ApiModelProperty(value = "建筑面积正确答案")
    private BigDecimal buildingAreaAnswer;

    /**
     * 文书信息
     */
    @ApiModelProperty(value = "文书查找状态（0:未找到文书，1:找到文书，默认1）")
    private Integer documentFindStatus;

    @ApiModelProperty(value = "文书查找状态是否错误（0：有误，1：无误）")
    private Integer documentFindStatusJudge;

    @ApiModelProperty(value = "文书查找状态正确答案（0:未找到文书，1:找到文书，默认1）")
    private Integer documentFindStatusAnswer;

    @ApiModelProperty(value = "文书案号")
    private String documentCaseNumber;

    @ApiModelProperty(value = "文书案号是否错误（0：有误，1：无误）")
    private Integer documentCaseNumberJudge;

    @ApiModelProperty(value = "文书案号正确答案")
    private String documentCaseNumberAnswer;

    @ApiModelProperty(value = "文书链接地址")
    private String documentLinkAddress;

    @ApiModelProperty(value = "文书链接地址是否错误（0：有误，1：无误）")
    private Integer documentLinkAddressJudge;

    @ApiModelProperty(value = "文书链接地址正确答案")
    private String documentLinkAddressAnswer;

    @ApiModelProperty(value = "文书是否在附件中（0:否，1:是）")
    private Integer documentInAttach;

    @ApiModelProperty(value = "文书是否在附件中是否错误（0：有误，1：无误）")
    private Integer documentInAttachJudge;

    @ApiModelProperty(value = "文书是否在附件中正确答案（0:否，1:是）")
    private Integer documentInAttachAnswer;

    /**
     * 角色信息
     */
    @ApiModelProperty(value = "角色信息")
    private String roleInfo;

    @ApiModelProperty(value = "角色信息是否错误（0：有误，1：无误）")
    private Integer roleInfoJudge;

    @ApiModelProperty(value = "角色信息比对结果")
    private String roleInfoResult;

    @ApiModelProperty(value = "角色信息正确答案")
    private String roleInfoAnswer;

    /**
     * 审核错误原因
     */
    @ApiModelProperty(value = "错误等级")
    private Integer errorLevel;

    @ApiModelProperty(value = "错误详情")
    private String errorDetail;
}
